Skip to content

gen-networkd: wpa supplicant unit requires netplan-configure.service#577

Merged
JegadishD merged 1 commit into
canonical:mainfrom
guilherme-puida:push-ystlsvrzlnot
Jun 16, 2026
Merged

gen-networkd: wpa supplicant unit requires netplan-configure.service#577
JegadishD merged 1 commit into
canonical:mainfrom
guilherme-puida:push-ystlsvrzlnot

Conversation

@guilherme-puida

@guilherme-puida guilherme-puida commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Description

wpa_supplicant reads its configuration from
/run/netplan/wpa-.conf, which is written by netplan-configure.service. Without an explicit Requires=/After= dependency, wpa_supplicant could start before the config file is available, causing it to fail.

LP: #2145061

Checklist

  • Runs make check successfully.
  • Retains code coverage (make check-coverage).
  • New/changed keys in YAML format are documented.
  • (Optional) Adds example YAML for new feature.
  • (Optional) Closes an open bug in Launchpad.

wpa_supplicant reads its configuration from
/run/netplan/wpa-<iface>.conf, which is written by
netplan-configure.service. Without an explicit Requires=/After=
dependency, wpa_supplicant could start before the config file is
available, causing it to fail.

LP: #2145061
@guilherme-puida

Copy link
Copy Markdown
Contributor Author

This was uploaded to Ubuntu as part of netplan.io 1.2-1ubuntu5

@JegadishD JegadishD left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@JegadishD JegadishD merged commit bd1c1e0 into canonical:main Jun 16, 2026
13 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants